package threadLearn;

import java.util.*;
import java.io.*;

public class Main
{
    public static PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
    public static Read in = new Read();

    public static void main(String[] args) throws IOException
    {
        // 写代码

        out.close();
    }
}
class Read // 自定义快速读入
{
    //字符串裁剪
    StringTokenizer st = new StringTokenizer("");
    BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));//将字节流转换为字符流,放到一个内存缓存区里
    String next() throws IOException
    {
        while(!st.hasMoreTokens())
        {
            //bf.readLine()在内存缓冲区拿一行数据
            st = new StringTokenizer(bf.readLine());
        }
        //将裁剪得到的一个字符串返回
        return st.nextToken();
    }

    String nextLine() throws IOException
    {
        return bf.readLine();
    }

    int nextInt() throws IOException
    {
        return Integer.parseInt(next());
    }

    long nextLong() throws IOException
    {
        return Long.parseLong(next());
    }

    double nextDouble() throws IOException
    {
        return Double.parseDouble(next());
    }
}
